package com.wanmait.heatingrepair.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2021/05/10
*/
@Data
@TableName(value = "jurisdiction")
public class Jurisdiction implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联业务经理id
     */
    @TableField(value = "admin_id")
    private Integer adminId;
    @TableField(exist = false)
    private Admin admin;
    /**
     * 关联工作人员
     */
    @TableField(value = "workers_id")
    private Integer workersId;
    @TableField(exist = false)
    private Workers workers;
    /**
     * 工作人员负责的街道
     */
    @TableField(value = "street_id")
    private Integer streetId;
    @TableField(exist = false)
    private Street street;
    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_WORKER_ID = "workers_id";

    public static final String COL_STREET_ID = "street_id";

    public static final String COL_ENABLE = "enable";
}